package com.yiren.manager.utils;

import java.util.List;

public class GenericHttpResult<T> extends HTTPResult{
	
	private List<T> data;
	
	private Integer length;

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		setLength(data.size());
		this.data = data;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}
}
